#ifndef _TILTERSUBSYSTEM_HPP
#define _TILTERSUBSYSTEM_HPP

#include <WPILib.h>
#include "EntechSubsystem.h"

class TilterSubsystem : public EntechSubsystem
{
	public:
		enum TilterPosition
		{
			kFlat, kTilted
		};
		TilterSubsystem ();
		virtual ~TilterSubsystem();
		void SetPosition(TilterPosition position);

		// Subsystem functions
		virtual void DoTeleop(void);
		virtual void DoTest(void);
		
		bool CommandDone(void);

	private:
		const static double c_TimeToDeploy = 1.0;
		TilterPosition m_position;
		Solenoid *m_tilt;
		Timer *m_timer;
};

#endif
